import { RouteRecordRaw } from 'vue-router'
import { category } from '@/api/product/attr/type'

export interface UserState {
  token: string | null
  menuRoutes: RouteRecordRaw[]
  userName: string
  avatar: string
}

export interface SettingState {
  isCollapse: boolean
  isRefresh: boolean
}

export interface CategoryState {
  category1List: category[]
  category2List: category[]
  category3List: category[]
  category1Id: number | string
  category2Id: number | string
  category3Id: number | string
}
